// To parse this JSON data, do
//
//     final assetsDownloadModel = assetsDownloadModelFromJson(jsonString);

import 'dart:convert';

AssetsDownloadModel assetsDownloadModelFromJson(String str) => AssetsDownloadModel.fromJson(json.decode(str));

String assetsDownloadModelToJson(AssetsDownloadModel data) => json.encode(data.toJson());

class AssetsDownloadModel {
  AssetsDownloadModel({
    this.id,
    this.title,
    this.coverImg,
    this.link,
    this.startTime,
    this.endTime,
    this.status,
    this.createTime,
    this.createBy,
    this.updateTime,
    this.updateBy,
    this.content,
  });

  int? id;
  String? title;
  String? coverImg;
  String? link;
  dynamic startTime;
  dynamic endTime;
  int? status;
  int? createTime;
  dynamic createBy;
  int? updateTime;
  dynamic updateBy;
  String? content;

  factory AssetsDownloadModel.fromJson(Map<String, dynamic> json) => AssetsDownloadModel(
        id: json["id"],
        title: json["title"],
        coverImg: json["coverImg"],
        link: json["link"],
        startTime: json["startTime"],
        endTime: json["endTime"],
        status: json["status"],
        createTime: json["createTime"],
        createBy: json["createBy"],
        updateTime: json["updateTime"],
        updateBy: json["updateBy"],
        content: json["content"],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "title": title,
        "coverImg": coverImg,
        "link": link,
        "startTime": startTime,
        "endTime": endTime,
        "status": status,
        "createTime": createTime,
        "createBy": createBy,
        "updateTime": updateTime,
        "updateBy": updateBy,
        "content": content,
      };
}
